<html>
<head><meta charset="utf-8"><title>lint level docs · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/lint.20level.20docs.html">lint level docs</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228451371"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/lint%20level%20docs/near/228451371" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/lint.20level.20docs.html#228451371">(Mar 02 2021 at 17:34)</a>:</h4>
<p>A minor thing I wanted to ask about is whether or not anyone thinks it is important for the lint documentation to reflect edition differences.  I'm referring to <code>rustc -W help</code> and <a href="https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html">this page</a>, neither of which currently knows how to handle edition-switching lints. I think <a href="https://github.com/rust-lang/rust/issues/81244">#81244</a> would be the first of such lints, and I'm concerned that people may be confused if they look at the docs and it says one thing (that it is a "warning") but in reality it is different (it is "deny" in 2021).</p>
<p>I don't know if anyone actually looks at those docs, so it may not matter.  Just wanted to see if anyone else would care.</p>



<a name="228464359"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/lint%20level%20docs/near/228464359" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/lint.20level.20docs.html#228464359">(Mar 02 2021 at 18:50)</a>:</h4>
<p>Good catch, <span class="user-mention" data-user-id="120518">@Eric Huss</span>, that seems pretty important.</p>



<a name="228464385"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/lint%20level%20docs/near/228464385" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/lint.20level.20docs.html#228464385">(Mar 02 2021 at 18:51)</a>:</h4>
<p>I think i would prefer it to present the newest edition as the canonical thing</p>



<a name="228464412"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/lint%20level%20docs/near/228464412" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/lint.20level.20docs.html#228464412">(Mar 02 2021 at 18:51)</a>:</h4>
<p>with maybe some disclosure triangle to see older editions</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>